import QtQuick 1.0

Item {
    id: basicElement

    property string text: "Element"

//    height: 50
//    width: 50

    Rectangle {
        border.color: "black"
        border.width: 4
        anchors.leftMargin: 10
        anchors.topMargin: 10
        color: "#F58220"
        radius: 8
        anchors.fill: parent
        Text {
            id: elementName
            text: basicElement.text
            anchors.horizontalCenter: parent.horizontalCenter
            anchors.verticalCenter: parent.verticalCenter
        }

    }
}
